
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <title>Song后台管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
      <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/font-awesome.min.css">
    <!-- Ionicons -->
<!--     <link rel="stylesheet" href="__PUBLIC__/lib/css/ionicons.min.css"> -->
    <!-- customer diy -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/customer.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/all-skins.min.css">
    <!-- iCheck -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/blue.css">
    <!-- Morris chart -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/morris.css">
    <!-- jvectormap -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/jquery-jvectormap-1.2.2.css">
    <!-- Date Picker -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/datepicker3.css">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/daterangepicker-bs3.css">
    <!-- bootstrap wysihtml5 - text editor -->
    <link rel="stylesheet" href="__PUBLIC__/lib/css/bootstrap3-wysihtml5.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- jQuery 2.1.4 -->
    <script src="__PUBLIC__/lib/js/jquery.min.js"></script>
               <script type="text/javascript" src="__PUBLIC__/lib/UEditor/ueditor.config.js"></script>
        <!-- 编辑器源码文件 -->
        <script type="text/javascript" src="__PUBLIC__/lib/UEditor/ueditor.all.js"></script>     
    
  </head>
  <body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">

      <header class="main-header">
        <!-- Logo -->
        <a href="javascript:;" class="logo">
          <!-- mini logo for sidebar mini 50x50 pixels -->
          <span class="logo-mini"><b>{$Think.session.user.user_name}</b></span>
          <!-- logo for regular state and mobile devices -->
          <span class="logo-lg"><b>{$Think.session.user.user_name}</b></span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
          </a>
          <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
              <!-- User Account: style can be found in dropdown.less -->
              <li class="dropdown user user-menu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <img src="__PUBLIC__/lib/images/user2-160x160.jpg" class="user-image" alt="User Image">
                  <span class="hidden-xs">超级管理员-{$Think.session.user.user_name}</span>
                </a>
                <ul class="dropdown-menu">
                  <!-- User image -->
                  <li class="user-header">
                    <img src="__PUBLIC__/lib/images/user2-160x160.jpg" class="img-circle" alt="User Image">
                    <p>
                      <b>{$Think.session.user.user_name}</b>
                    </p>
                  </li>
                  <!-- Menu Footer-->
                  <li class="user-footer">
                    <div class="pull-left">
                      <a href="#" data-toggle="modal" data-target="#password-modal" class="btn btn-default btn-flat">修改密码</a>
                    </div>
                    <div class="pull-right">
                      <a href="__APP__/Login/logout" class="btn btn-default btn-flat">立即退出</a>
                    </div>
                  </li>
                </ul>
              </li>

            </ul>
          </div>
        </nav>
      </header>
        <!--modal start-->
        <div class="modal fade" id="password-modal">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                        <h4 class="modal-title"> 修改密码</h4>
                    </div>
                    <form role="form" method="post" action="__APP__/Home/Login/news_password">
                        <div class="modal-body">
                            <div class="form-group">
                                <label style="text-align: left">新密码</label>
                                <input type="password" class="form-control" name="password">
                            </div>
                            <div class="form-group">
                                <label style="text-align: left">确认密码</label>
                                <input type="password" class="form-control" name="password_confirmation">
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </form>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div>
        <!--modal end-->
        <!--modal start-->
        <div class="modal fade" id="password-modal">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                        <h4 class="modal-title"> 修改密码</h4>
                    </div>
                    <form role="form" method="post" action="__APP__/Home/Login/news_password">
                        <div class="modal-body">
                            <div class="form-group">
                                <label style="text-align: left">新密码</label>
                                <input type="password" class="form-control" name="password">
                            </div>
                            <div class="form-group">
                                <label style="text-align: left">确认密码</label>
                                <input type="password" class="form-control" name="password_confirmation">
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </form>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div>
        <!--modal end-->


      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <div class="user-panel">
            <div class="pull-left image">
              <img src="__PUBLIC__/lib/images/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p>{$Think.session.user.user_name}</p>
              <a href="javascript:;"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
          </div>
          <!-- search form -->
                    <!-- /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->

                        <ul class="sidebar-menu">
                <li class="header">控制面板</li>

<volist name="nav" id ="vo">
  
                  <li class="treeview  ">
                    <a href="__APP__/{$vo.nav_url}">
                        <i class="fa {$vo.icon_class}"></i> <span>{$vo.nav_name}</span>
                    </a>
                </li>
</volist>

<!--                 <li class="treeview  ">
                    <a href="__APP__/index">
                        <i class="fa fa-picture-o"></i> <span>图片管理</span>
                    </a>
                </li>

               <li class="treeview  ">
                    <a href="__APP__/About">
                        <i class="fa fa-picture-o"></i> <span>图片人物管理</span>
                    </a>
                </li>

                <li class="treeview ">
                    <a href="__APP__/News">
                        <i class="fa fa-list-alt"></i> <span>图片组图管理</span>
                    </a>
                </li>
                <li class="treeview ">
                    <a href="__APP__/Type">
                        <i class="fa fa-group"></i> <span>图片内容类型管理</span>
                    </a>
                </li>
                <li class="treeview ">
                    <a href="__APP__/Message">
                        <i class="fa fa-circle-o"></i> <span>图片留言管理</span>
                    </a>
                </li> -->
<!-- 
                <li class="treeview ">
                    <a href="javascript:;">
                        <i class="fa fa-group"></i><span>产品展示</span>
                        <i class="fa fa-angle-left pull-right"></i>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="__APP__/Home/Product/index"><i class="fa fa-circle-o"></i> 产品分类</a></li>
                        <li><a href="__APP__/Home/Content"><i class="fa fa-circle-o"></i> 产品管理</a></li>
                    </ul>
                </li>



                <li class="treeview ">
                    <a href="__APP__/Home/Abstract">
                        <i class="fa fa-list-alt"></i> <span>企业简介</span>
                    </a>
                </li>
                <li class="treeview ">
                    <a href="__APP__/Home/Contact">
                        <i class="fa fa-diamond"></i> <span>联系我们</span>
                    </a>
                </li> -->
  
            </ul>

        </section>
        <!-- /.sidebar -->
      </aside>

      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->

        <link href="__PUBLIC__/lib/css/dataTables.bootstrap.css" rel="stylesheet" type="text/css"/>
<script src="__PUBLIC__/lib/js/jquery.dataTables.min.js"></script>
<script src="__PUBLIC__/lib/js/dataTables.bootstrap.min.js"></script> 
<script>
    $(function () {
        $("#example2").DataTable({
            'language': {
                'emptyTable': '没有数据',
                'loadingRecords': '加载中...',
                'processing': '查询中...',
                'search': '搜索:',
                'lengthMenu': '每页 _MENU_ 条',
                'zeroRecords': '没有数据',
                'paginate': {
                    'first':      '第一页',
                    'last':       '最后一页',
                    'next':       '下一页',
                    'previous':   '上一页'
                },
                'info': '第 _PAGE_ 页 / 总 _PAGES_ 页',
                'infoEmpty': '没有数据',
                'infoFiltered': '(过滤总件数 _MAX_ 条)'
            },
            'order': [[1,'asc']]
        });
    });

</script>